package com.winxuan.channel.service.member;

import java.util.List;

import org.springframework.security.web.access.intercept.FilterInvocationSecurityMetadataSource;

import com.winxuan.channel.model.member.Resource;

public interface ResourceService extends FilterInvocationSecurityMetadataSource{
	
	public List<Resource> loadEnableResources();
	
	public List<Resource> loadAllResources();
	
	public boolean addResource(Resource resource);
	
	public Resource getResource(Integer id);
	
	public boolean deleteResource(Resource resource);
	
	public boolean updateResource(Resource resource);

}
